package sctu.edu.java.year2016.team04.luoxinghua.day20160521.chapter5_2;

/**输入数组进行升序排列
 * Created by 落叶的思恋 on 2016/5/21.
 */import java.util.Arrays;
import java.util.Scanner;
public class big {
    public static void main(String[] args) {
      int []arr=new int[10];
        Scanner scanf=new Scanner(System.in);
        for (int i=0;i<arr.length;i++)
        {arr[i]=scanf.nextInt();
        }
   Arrays.sort(arr);
        System.out.println("升讯排序后");
        for (int b:arr)
        {
            System.out.print(b+" ");
        }
    }
}
